<!DOCTYPE html>
<html lang="en">

<head>
   
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <title>{{.Name|I18n}}</title> <!-- 页面标题 -->
    {{ "publicCSS1"|ToTemp}}
    <!-- BEGIN PAGE LEVEL PLUGINS -->
    <link href="/assets/global/plugins/datatables/datatables.min.css" rel="stylesheet" type="text/css" />
    <link href="/assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="/assets/global/plugins/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" type="text/css" />
    <link href="/assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
    <link href="/assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
    <!-- END PAGE LEVEL PLUGINS -->
    {{ "publicCSS2" |ToTemp}}
    <link href="/assets/global/css/common.css" rel="stylesheet" type="text/css" />
</head>
{{"publicHeader" |ToTemp}}

<!-- END HEADER -->
<!-- BEGIN HEADER & CONTENT DIVIDER -->
<div class="clearfix"> </div>
<!-- END HEADER & CONTENT DIVIDER -->
<!-- BEGIN CONTAINER -->
<div class="page-container">
    <!-- BEGIN SIDEBAR -->
    
    <!-- END SIDEBAR -->
    <!-- BEGIN CONTENT -->
    <div class="page-content-wrapper">
        <!-- BEGIN CONTENT BODY -->
        <div class="page-content">
            <!-- BEGIN CUSTOMER HTML-->
            <!-- BEGIN PAGE BAR -->
            <div class="page-bar">
                <ul class="page-breadcrumb">
                    
                </ul>
            </div>
            <!-- END PAGE BAR -->
            <!-- END PAGE HEADER-->
            <div class="row row--margintop">
                <div class="col-md-12">
                    <!-- BEGIN EXAMPLE TABLE PORTLET-->
                    <div class="portlet light bordered">
                        <div class="portlet-title">
                            <form class="form-flex form-flex--portlet" id="query_form">
                            
                            </form>
                        </div>
                        <div class="portlet-body">
                            <div class="table-btn">
                        
                            </div>
                            <!-- 表格 START -->
                            <table class="table table-striped table-bordered table-hover" id="table">
                            </table>
                            <!-- 表格 END -->
                        </div>
                    </div>
                    <!-- END EXAMPLE TABLE PORTLET-->
                </div>
            </div>
            <!-- END CUSTOMER HTML-->
        </div>
        <!-- END CONTENT BODY -->
    </div>
    <!-- END CONTENT -->
</div>
<!-- BEGIN FOOTER -->
{{"publicFooter" |ToTemp}}
<!-- END FOOTER -->



<!-- 新增弹框 START -->
<div id="add_modal" class="modal fade bs-modal-lg" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title">{{ "new"|I18n}}</h4>
            </div>
            <form id='add_form'>
                <div class="modal-body form-flex">
                    {{range  $i,$col:= .Columns}} 
                        {{if $col.Name|IsCode}}
                        <div class="form-group form-group--33">
                            <label class="control-label"><span class="required">*</span>{{ $col.Name|I18n}}:</label>
                            <select class="select2" name='{{$col.Name}}'> 
                                <option></option>
                            </select>
                        </div>
                       
                        {{else}}
                        <div class="form-group form-group--33 ">
                            <label class="control-label"><span class="required">*</span>{{ $col.Name|I18n}}:</label>
                            <input type="text" name="{{$col.Name}}" class="form-control" value="" /> 
                            <span class='input-clear hidden'>×</span>
                        </div> 
                       
                        {{end}}
                    {{end}}
                </div>
                <div class="modal-footer">
                    <button class="btn qing--gradient">{{ "save"|I18n}}</button>
                    <button class="btn default--gradient" data-dismiss="modal">{{ "cancel"|I18n}}</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!-- 新增弹框 END -->

<!-- 编辑弹框 START  -->
<div id="edit_modal" class="modal fade bs-modal-lg" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title">{{ "edit"|I18n}}</h4>
            </div>
            <form id='edit_form' class="">
                <div class="modal-body form-flex">
                   
                    {{range  $i,$col:= .Columns}} 
                        {{if $col.Name|IsCode}}
                       
                        <div class="form-group form-group--33">
                            <label class="control-label"><span class="required">*</span>{{ $col.Name|I18n}}:</label>
                            <select class="select2" name='{{$col.Name}}'> 
                                <option></option>
                            </select>
                        </div>
                        {{else}}
                        <div class="form-group form-group--33 ">
                            <label class="control-label"><span class="required">*</span>{{ $col.Name|I18n}}:</label>
                            <input type="text" name="{{$col.Name}}" class="form-control" value="" /> 
                            <span class='input-clear hidden'>×</span>
                        </div>
                        {{end}}
                    {{end}}
                   
                </div>
                <div class="modal-footer">
                    <button class="btn qing--gradient">{{ "save"|I18n}}</button>
                    <button class="btn default--gradient" data-dismiss="modal">{{ "cancel"|I18n}}</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!-- 编辑弹框 END  -->




<!-- 详情弹框 START -->
<div id="detail_modal" class="modal fade bs-modal-lg" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title">{{ "detail"|I18n}}</h4>
            </div>
            <form id='detail_form' class="">
                <div class="modal-body form-flex">
                    {{range  $i,$col:= .Columns}} 
                    <div class="form-group form-group--33 hidden">
                        <label class="control-label">{{ $col.Name|I18n}}: </label>
                        <input type="text" name="{{$col.Name}}" readonly class="form-control" value="" />
                    </div>
                    {{end}}
                </div>
                <div class="modal-footer">
                    <button class="btn default--gradient item__btn" data-dismiss="modal">{{"close"|I18n}}</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!-- 详情弹框 END -->
